
const path = require('path');
const fs = require('fs');
const mkdir = require("../utils/mkdir");
function inits(config,module,rootpath){

    if(module){
        rootpath = path.join(rootpath,module);
       // fs.mkdir(fliename);
    }
    mkdir(path.join(rootpath,"/src/main/js"))
    mkdir(  path.join(rootpath,"/src/main/resources") );
    mkdir(  path.join(rootpath,"/src/test/js") );
    mkdir(  path.join(rootpath,"/src/test/resources") );
}

module.exports = inits;